<?php

use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
use backend\assets\LayuiAsset;
use yii\helpers\Url;
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */
/* @var $searchModel rbac\models\searchs\Menu */

LayuiAsset::register($this);
$this->registerJs($this->render('js/index.js'));

?>

<style>
    .layui-table td{
        padding: 2px 10px;
    }
</style>
<div class="menu-search">



    <div class="form-group">
        <?= Html::submitButton('排序', ['class' => 'layui-btn order layui-btn-normal']) ?>
        <?= Html::button('添加', ['class' => 'layui-btn layui-default-add']) ?>
    </div>


</div>

<div class="layui-form menu-index">
    <table class="layui-table"><thead>
        <tr>
            <th width="50">排序</th>
            <th width="50">ID</th>
            <th width="40%">名称</th>
            <th style="text-align: center;align-items: center;">操作</th>
        </thead>
        <tbody>
        <?=$categorys;?>
        </tbody></table>
</div>
